package org.example.Response;

import lombok.Getter;

@Getter
public enum ApiResponseCode {
    SUCCESS(200, "Success"),
    ERROR(500, "Internal Server Error"),
    NOT_FOUND(404, "Not Found"),
    UNAUTHORIZED(401, "Unauthorized");

    private int code;
    private String message;

    ApiResponseCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

}
